/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */
package cn.com.ksplatform.ui.template;

import java.io.InputStream;

public class TemplateLoader {
	public static String CURRENT_VERSION = "base";
	/**
	 * 加载模版
	 * @param name
	 * @return
	 */
	public static InputStream loadTemplate(String name){
		InputStream ins = TemplateLoader.class.getResourceAsStream(CURRENT_VERSION+"/"+name+".vm");
		return ins;
	}
}
